home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kit PC World De Ampliacion De Windows 95
/
Kit PC World de ampliacion de Windows 95.iso
/
internet
/
sweeper
/
samples
/
olecon~1
/
controls
/
invisi~1
/
makefile
< prev
next >
Wrap
Makefile
|
1995-11-30
|
2KB
|
86 lines
#=------------------------------------------------------------------------=
# Makefile [Invisible]
#=------------------------------------------------------------------------=
# Copyright 1995 Microsoft Corporation. All Rights Reserved.
#
# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
# ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
# PARTICULAR PURPOSE.
#=--------------------------------------------------------------------------=
#
# builds an Invisible Control
#
TARGETOS=BOTH
APPVER=4.0
MKDEP=mkdep
MKTYPLIB=mktyplib
VERSIONHDR=dwinvers.h
!include <win32.mak>
cflags=$(cflags) -Oi
!if "$(NODEBUG)"!=""
CTL_LIBS=$(winlibs) ..\..\lib\CTLFWR32.LIB uuid2.lib olepro32.lib ole32.lib oleaut32.lib uuid.lib oldnames.lib
!else
cdebug=$(cdebug) -DDEBUG
CTL_LIBS=$(winlibs) ..\..\lib\CTLFWD32.LIB uuid2.lib olepro32.lib ole32.lib oleaut32.lib uuid.lib oldnames.lib
!endif
CONTROLNAME=Invisible
OBJS=Guids.Obj\
$(CONTROLNAME).Obj\
$(CONTROLNAME)Ctl.Obj\
$(CONTROLNAME)PPG.Obj\
$(CONTROLNAME).res
all: dep $(CONTROLNAME).OCX
$(CONTROLNAME).Ocx: $(VERSIONHDR) $(CONTROLNAME).TLB $(OBJS) makefile
$(link) $(lflags) $(ldebug) -DLL -entry:DllMain$(DLLENTRY) $(OBJS) -out:$*.ocx $(CTL_LIBS) -def:$(CONTROLNAME).def
.cpp.obj:
$(cc) $(cflags) $(cvars) $(cdebug) -I..\..\Include $<
.c.obj:
$(cc) $(cflags) $(cvars) $(cdebug) -I..\..\Include $<
$(CONTROLNAME).TLB : $(CONTROLNAME).ODL
$(MKTYPLIB) $(_MKTYPLIBFLAGS) -nologo -cpp_opt "/C /E /D__MKTYPLIB__ -nologo" -h $(CONTROLNAME)Interfaces.H -o Errors.LOG -tlb $(CONTROLNAME).TLB $(CONTROLNAME).ODL
$(CONTROLNAME).res : $(CONTROLNAME).TLB $(CONTROLNAME).RC
$(rc) $(rcflags) -fo $(CONTROLNAME).Res $(CONTROLNAME).Rc
Dep: $(CONTROLNAME).TLB
@echo Generating Dependancies
$(MKDEP) -n -P ./ -I. -I..\..\Include -s .obj *.c* > dep.mak
$(VERSIONHDR):
@echo You should edit this file for your own version information
copy ..\..\framewrk\$(VERSIONHDR)
clean:
del *.obj
del *.ocx
del *.tlb
del *.res
del *.exp
del *.mak
del *.log
del *.lib
del $(CONTROLNAME)Interfaces.H
del dwinvers.h
#=----------------------------=
# Include Dependency Makefile
#
!IF EXIST(dep.mak)
!include dep.mak
!ENDIF